/*
    ========
    基本样式
    =======   */
html{
    font-size:62.5%;
    background-color: #f6fff4;
    height: 100%;
}
body{
    position: fixed;
    height: 100%;
    width:100%;
    background: url("../img/moon_night_.png") no-repeat;
    background-size: 100% auto;
    z-index: -9999;
    -webkit-appearance:none;
    top:0;
    bottom:0;
}
::selection{
    background-color:#89f3ff;
    text-shadow:none;
}
ul{
    margin:0;
    padding:0;
}
a{
    text-decoration: none;
}
li{
    list-style:none;
}
/*清除浮动*/
.clearfix:before,
.clearfix:after{
    content:" ";
    display:table;
}
.clearfix:after{
    clear:both;
}
/*
  =============

    自定义样式

  =============
               */
/*部分样式基于iphone6*/
.container{
    position: absolute;
    width:100%;
    height:100%;
    -webkit-appearance:none;
    /*	 background: url("../img/moon_night_.png");
        background-size: 100% 100%;*/

}
.start{
    background-color: #f2d153;
    height:0.3em;
    width:0.3em;
    border-radius:50% ;
    position: relative;
    animation: start 4s;
    animation-iteration-count:infinite;
    z-index:-9999;
}
.start_1{
    top:13em;
    right:-17em;
}
.start_2{
    top:7em;
    right:-27em;
}
.start_3{
    top:4em;
    right:-6em;
}
.start_4{
    top:19em;
    right:-8em;
}
.start_5{
    top:26em;
    right:-27em;
}
@keyframes start {
    0%{
        background-color: #d4d818;
    }
    50%{
        background-color:#f4fdb5;
    }
    100%{
        background-color:#fcfc1d;
    }
}
@-moz-keyframes start {
    0%{
        background-color: #d4d818;
    }
    50%{
        background-color:#f4fdb5;
    }
    100%{
        background-color:#fcfc1d;
    }
}
@-webkit-keyframes start {
    0%{
        background-color: #d4d818;
    }
    50%{
        background-color:#f4fdb5;
    }
    100%{
        background-color:#fcfc1d;
    }
}
@-ms-keyframes start {
    0%{
        background-color: #d4d818;
    }
    50%{
        background-color:#f4fdb5;
    }
    100%{
        background-color:#fcfc1d;
    }
}
@-o-keyframes start {
    0%{
        background-color: #d4d818;
    }
    50%{
        background-color:#f4fdb5;
    }
    100%{
        background-color:#fcfc1d;
    }
}
/*写收信*/
.center_content{
    /* position:absolute;*/
    text-align: -webkit-center;
    height: 100%;
    width:100%;
    /* overflow:hidden;*/
}
.get_transition{
    position:relative;
    text-align: center;
    top:12%;
}
.get_transition img{
    position: relative;
    width:96px;
    height: 102px;
}
.div1,.div2 {
    display: inline-block;
    text-align: center;
    position: relative;
    width: 96px;
    height: 50px;
    overflow: hidden;
}
.wirter{
    top:-50px;
}
/*信封明信片*/
.show_content{
    position: absolute;
    top: 28%;
    width: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}
/*公告样式*/
.in_content,.out_content{
    position:relative;
    top: 25px;
    width: 310px;
    height: 319px;
    border-radius: 12px;
    transform-style:preserve-3d;
    -webkit-transform-style:preserve-3d;
    -moz-transform-style:preserve-3d;
    -o-transform-style:preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
}
.input_password{
    /* font-weight: bold;*/
    height: 21px;
    top: 16px;
    position: relative;
    border: #FAD9B4;
    width:calc(60%);
    letter-spacing: 10px;
    padding-left: 8px; outline: 0; -webkit-appearance:none;border-radius: 24px;
}
textarea,p{
    position:relative;
    width:220px;
    top: 27px;
    /*  left: 8px;*/
    height: 217px;
    font-size: 16px; outline: 0; -webkit-appearance:none;
}
.bottom{
    display:block;
    position:relative;
    width:96px;
    height:4px;
    border-top:#30c1e9 solid 3px;
    top: 2px;
    left: 108px;
}
.bottom_content{
    display:block;
    text-align: center;
}
.input_password:focus{
    border: rgba(28, 171, 250, 0.8);
}
/*写信样式*/
.in_content{
    background-color:#FAD9B4;
}
.input_password_bgcolor01{
    background-color:#FAD9B4 ;
}
textarea{
    background-color:#FAD9B4;
    border: #FAD9B4;
    -webkit-appearance: none;
}
/*收信*/
.out_content{
    background-color: #C9EFF2;
    top: -295px;
    -webkit-transform: rotateY( 180deg);
    -moz-transform: rotateY( 180deg);
    -ms-transform: rotateY( 180deg);
    -o-transform: rotateY( 180deg);
    transform: rotateY( 180deg);
}
.input_password_bgcolor02{
    background-color: #C9EFF2;
}
#output_text{
    background-color:#C9EFF2;
    border: #C9EFF2;
}
/*收信样式隐藏在Y90*/
.back_90{
    transform:rotateY(0deg) ;
    -webkit-transform:rotateY(0deg) ;
    -moz-transform:rotateY(0deg) ;
    -o-transform:rotateY(0deg) ;
}
.back_-90{
    -webkit-transform: rotateY( -180deg);
    -moz-transform: rotateY( -180deg);
    -ms-transform: rotateY( -180deg);
    -o-transform: rotateY( -180deg);
    transform: rotateY( -180deg);
}

/*玩法介绍*/
.game_using{
    position: fixed;/****/
    right: 0;
    bottom: 0;   /*改*/
}
.game_using_pic{
    width: 43%;
    height: 43%; /*改*/
}
.game_using .game_get{
    margin:0;
    width:55px;
    height:18px;
    color:#fff;
    top: 0;
    left: 0;
    font-size: 10px;  /*改*/
}
/*提交按钮*/
.data_done{
    position: relative;
    bottom: -95px;
    width: 98px;
    height: 48px;
}
.done_2{
    bottom: -71px;
}
/*适配i6机*/
@media screen and (max-width: 414px) and (min-width:376px){
    .bottom{
        left: 108px;
    }
    .input-inner {
        display: inline-block;
        width: 23px;
        height:20px;
    }
    .input_password {
        height: 23px;
        width:calc(60%);
        left: -1.4em;}
}
@media screen and (max-width: 375px) and (min-width:361px){
    .bottom {
        left: 89px;
    }
    /*  .show_content {
          position: relative;
          top: 70px;
      }*/
    .in_content, .out_content {
        position: relative;
        top: 22px;
        width: 278px;
        height: 258px;}
    .out_content {
        top: -236px;}
    .input_password {
        width:calc(60%);
        height: 21px;
        left: -2em;}
    textarea, p {
        height: 173px;}
    p {
        height: 147px;
    }
    .data_done {
        bottom: -78px;}
}
@media screen and (max-width: 360px) and (min-width:321px) {
    .bottom {
        left: 81px;
    }
    /*   .show_content {
           position: relative;
           top: 70px;
       }*/
    .in_content, .out_content {
        position: relative;
        top: 24px;
        width: 278px;
        height: 258px;}
    .out_content {
        top: -234px;}
    .input_password {
        width:calc(60%);
        height: 21px;
        left: -2em;
    }
    textarea, p {
        height: 173px;}
    p {
        height: 147px;
    }
    .data_done {
        bottom: -78px;}
}
@media screen and (max-width: 320px){
    .bottom {
        left: 61px;
    }
    /*   .show_content {
           position: relative;
           top: 65px;}*/
    .in_content, .out_content {
        position: relative;
        top: 22px;
        width: 250px;
        height: 254px;  }
    .out_content{
        top: -232px;
    }
    textarea, p {
        position: relative;
        width: 201px;
        top: 25px;
        height: 168px;
        font-size: 16px;}
    p {
        position: relative;
        width: 230px;
        top: 25px;

        height: 141px;
        font-size: 16px;}
    .input_password {
        left: -2em;
        width:calc(60%);
        height: 26px;}
    .data_done {
        position: relative;
        bottom: -76px;
        width: 71px;
        height: 34px;}
}
